//
//  ShareBoxView.h
//  TestShareBoxView
//
//  Created by yutao on 13-11-17.
//  Copyright (c) 2013年 yutao. All rights reserved.
//

#import <UIKit/UIKit.h>
#define kTextKey        @"text"
#define kImgKey         @"image"

#define kButtonTagBase  20
typedef NS_ENUM(NSInteger, SNShareBoxType){
    SNShareBoxTypeLogin,
    SNShareBoxTypeShare
};

@protocol SNShareItemViewDelegate;
@interface SNShareItemView :UIView
{
    id<SNShareItemViewDelegate> delegate;
}
@property (nonatomic,weak)id<SNShareItemViewDelegate> delegate;
@end
@protocol SNShareItemViewDelegate <NSObject>
- (void)shareItemViewDidClick:(UIButton *)button;
@end

@interface SNShareBoxView : UIView
- (id)initWithFrame:(CGRect)frame shareArray:(NSMutableArray*)shareArr viewController:(UIViewController*)viewController type:(SNShareBoxType)aType;
- (void)show;
@end
